Integrand size = 23, antiderivative size = 403 \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=-\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}-\frac {8 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {b \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x \text {arctanh}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{1680 c^6 e^{5/2} \sqrt {c^2 x^2}} \]
[Out]
Time = 0.89 (sec) , antiderivative size = 403, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.522, Rules used = {272, 45, 5347, 12, 1629, 159, 163, 65, 223, 212, 95, 210} \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}-\frac {8 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {c^2 x^2-1}}\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {b x \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) \text {arctanh}\left (\frac {\sqrt {e} \sqrt {c^2 x^2-1}}{c \sqrt {d+e x^2}}\right )}{1680 c^6 e^{5/2} \sqrt {c^2 x^2}}+\frac {b x \sqrt {c^2 x^2-1} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}-\frac {b x \sqrt {c^2 x^2-1} \left (29 c^2 d-25 e\right ) \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}-\frac {b x \sqrt {c^2 x^2-1} \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}} \]
[In]
[Out]
Rule 12
Rule 45
Rule 65
Rule 95
Rule 159
Rule 163
Rule 210
Rule 212
Rule 223
Rule 272
Rule 1629
Rule 5347
Rubi steps \begin{align*} \text {integral}& = \frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b c x) \int \frac {\left (d+e x^2\right )^{3/2} \left (8 d^2-12 d e x^2+15 e^2 x^4\right )}{105 e^3 x \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}} \\ & = \frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b c x) \int \frac {\left (d+e x^2\right )^{3/2} \left (8 d^2-12 d e x^2+15 e^2 x^4\right )}{x \sqrt {-1+c^2 x^2}} \, dx}{105 e^3 \sqrt {c^2 x^2}} \\ & = \frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b c x) \text {Subst}\left (\int \frac {(d+e x)^{3/2} \left (8 d^2-12 d e x+15 e^2 x^2\right )}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{210 e^3 \sqrt {c^2 x^2}} \\ & = \frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b x) \text {Subst}\left (\int \frac {(d+e x)^{3/2} \left (24 c^2 d^2 e-\frac {3}{2} \left (29 c^2 d-25 e\right ) e^2 x\right )}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{630 c e^4 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b x) \text {Subst}\left (\int \frac {\sqrt {d+e x} \left (48 c^4 d^3 e-\frac {3}{4} e^2 \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x\right )}{x \sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{1260 c^3 e^4 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {(b x) \text {Subst}\left (\int \frac {48 c^6 d^4 e+\frac {3}{8} e^2 \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{1260 c^5 e^4 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {\left (4 b c d^4 x\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {\left (b \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{3360 c^5 e^2 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}+\frac {\left (8 b c d^4 x\right ) \text {Subst}\left (\int \frac {1}{-d-x^2} \, dx,x,\frac {\sqrt {d+e x^2}}{\sqrt {-1+c^2 x^2}}\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {\left (b \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{\sqrt {d+\frac {e}{c^2}+\frac {e x^2}{c^2}}} \, dx,x,\sqrt {-1+c^2 x^2}\right )}{1680 c^7 e^2 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}-\frac {8 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {\left (b \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x\right ) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{c^2}} \, dx,x,\frac {\sqrt {-1+c^2 x^2}}{\sqrt {d+e x^2}}\right )}{1680 c^7 e^2 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (23 c^4 d^2+12 c^2 d e-75 e^2\right ) x \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{1680 c^5 e^2 \sqrt {c^2 x^2}}-\frac {b \left (29 c^2 d-25 e\right ) x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}}{840 c^3 e^2 \sqrt {c^2 x^2}}+\frac {b x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{5/2}}{42 c e^2 \sqrt {c^2 x^2}}+\frac {d^2 \left (d+e x^2\right )^{3/2} \left (a+b \csc ^{-1}(c x)\right )}{3 e^3}-\frac {2 d \left (d+e x^2\right )^{5/2} \left (a+b \csc ^{-1}(c x)\right )}{5 e^3}+\frac {\left (d+e x^2\right )^{7/2} \left (a+b \csc ^{-1}(c x)\right )}{7 e^3}-\frac {8 b c d^{7/2} x \arctan \left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{105 e^3 \sqrt {c^2 x^2}}+\frac {b \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) x \text {arctanh}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{1680 c^6 e^{5/2} \sqrt {c^2 x^2}} \\ \end{align*}
Result contains higher order function than in optimal. Order 6 vs. order 3 in optimal.
Time = 1.56 (sec) , antiderivative size = 326, normalized size of antiderivative = 0.81 \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\frac {32 a \left (d+e x^2\right )^2 \left (8 d^2-12 d e x^2+15 e^2 x^4\right )+\frac {2 b e \sqrt {1-\frac {1}{c^2 x^2}} x \left (d+e x^2\right ) \left (75 e^2+2 c^2 e \left (19 d+25 e x^2\right )+c^4 \left (-41 d^2+22 d e x^2+40 e^2 x^4\right )\right )}{c^5}+\frac {b \left (-128 c^4 d^4 \sqrt {1+\frac {d}{e x^2}} \operatorname {AppellF1}\left (1,\frac {1}{2},\frac {1}{2},2,\frac {1}{c^2 x^2},-\frac {d}{e x^2}\right )-\frac {e \left (105 c^6 d^3-35 c^4 d^2 e+63 c^2 d e^2+75 e^3\right ) \sqrt {1-\frac {1}{c^2 x^2}} x^4 \sqrt {1+\frac {e x^2}{d}} \operatorname {AppellF1}\left (1,\frac {1}{2},\frac {1}{2},2,c^2 x^2,-\frac {e x^2}{d}\right )}{\sqrt {1-c^2 x^2}}\right )}{c^5 x}+32 b \left (d+e x^2\right )^2 \left (8 d^2-12 d e x^2+15 e^2 x^4\right ) \csc ^{-1}(c x)}{3360 e^3 \sqrt {d+e x^2}} \]
[In]
[Out]
\[\int x^{5} \left (a +b \,\operatorname {arccsc}\left (c x \right )\right ) \sqrt {e \,x^{2}+d}d x\]
[In]
[Out]
none
Time = 2.44 (sec) , antiderivative size = 1699, normalized size of antiderivative = 4.22 \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\int x^{5} \left (a + b \operatorname {acsc}{\left (c x \right )}\right ) \sqrt {d + e x^{2}}\, dx \]
[In]
[Out]
Exception generated. \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\int { \sqrt {e x^{2} + d} {\left (b \operatorname {arccsc}\left (c x\right ) + a\right )} x^{5} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^5 \sqrt {d+e x^2} \left (a+b \csc ^{-1}(c x)\right ) \, dx=\int x^5\,\sqrt {e\,x^2+d}\,\left (a+b\,\mathrm {asin}\left (\frac {1}{c\,x}\right )\right ) \,d x \]
[In]
[Out]